package com.mawell.common.propertymapper;

public class CustomPropertyConfiguration extends PropertyConfiguration {

	private Object value;	
	private String customType;
	
	public CustomPropertyConfiguration(String customType) {
		this.customType = customType;
		this.value = null;
	}
	
	
	public String getCustomType() {
		return customType;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	@Override
	public void accept(PropertyConfigurationVisitor visitor) {
		visitor.visit(this);
	}

	@Override
	public boolean isSet() {
		return value != null;
	}

}
